﻿using lazada.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using lazada.DAL;
namespace lazada.Controllers
{
    public class TopListMainController : Controller
    {
        //
        // GET: /List/
        public ActionResult Index()
        {
            return View();
        }
        
        public ActionResult ListKM()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListKM();

            return View(list);
        }
        public ActionResult ListSKSD()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListSKSD();

            return View(list);
        }
        public ActionResult ListTRTX()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListTRTX();

            return View(list);
        }
        public ActionResult ListMB()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListMB();

            return View(list);
        }
        public ActionResult ListDHMK()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListDHMK();

            return View(list);
        }
        public ActionResult ListVOUCHERS()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListVOUCHERS();

            return View(list);
        }
        public ActionResult ListTTDN()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListTTDN();

            return View(list);
        }
        public ActionResult ListDOGD()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListDOGD();

            return View(list);
        }
        public ActionResult ListNCDS()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListNCDS();

            return View(list);
        }
        public ActionResult ListTABLET()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListTABLET();

            return View(list);
        }
        public ActionResult ListLAPTOP()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListLAPTOP();

            return View(list);
        }
        public ActionResult ListTV()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListTV();

            return View(list);
        }
        public ActionResult ListCAMERA()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListCAMERA();

            return View(list);
        }
        public ActionResult ListOTO()
        {
            List<ListModel> list = new List<ListModel>();

            ListDAL lis = new ListDAL();
            list = lis.ListOTO();

            return View(list);
        }
	}
}